package com.cuit.zuke.order.client;

import com.cuit.zuke.order.model.entity.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("zuke-consumer")
public interface UserFeignClient {

    @PostMapping("/consumer/user/getUserByIdCli")
    User getUserById(@RequestBody String userId);

}
